package com.situ.car.service.Impl;

import com.situ.car.dao.IBrandDao;
import com.situ.car.dao.Impl.BrandDaoImpl;
import com.situ.car.pojo.entity.Brand;
import com.situ.car.service.IBrandService;

import java.util.List;

public class BrandServiceImpl implements IBrandService {
    private IBrandDao brandDao = new BrandDaoImpl();
    @Override
    public List<Brand> selectByBrand() {
        return brandDao.selectByBrand();
    }

    @Override
    public Brand selectByBrandName(Integer brandId) {
        return brandDao.selectByBrandName(brandId);
    }
}
